package com.lizhenhua.productskuquery.service.impl;

import com.lizhenhua.fmmall.entity.ProductSku;
import com.lizhenhua.productskuquery.mapper.ProductSkuMapper;
import com.lizhenhua.productskuquery.service.ProductSkuService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class ProductSkuServiceImpl implements ProductSkuService {
    @Autowired
    private ProductSkuMapper mapper;

    @Override
    public ProductSku queryProductSku(String skuId) {
        ProductSku productSku = mapper.selectByPrimaryKey(skuId);

        return productSku;
    }
}
